package com.yonyougov.devops.cruxcisupport.server.dto;

import com.yonyougov.devops.fwc.core.entity.BasicEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ServerPageLikeDto extends BasicEntity implements Serializable {
    /***
     * id
     */
    private BigInteger id;

    /***
     * name
     */
    private String name;

    /***
     * 内网ip
     */
    private String innerIp;

    /***
     * ip
     */
    private String ip;

    /***
     * port
     */
    private Integer port;

    /***
     * username
     */
    private String username;

    /***
     * password
     */
    private String password;

    /***
     * 1.ssh,2:password
     */
    private Integer connectType;

    /***
     * remark
     */
    private String remark;

    private Integer state;

    /**
     * 根据用户筛选
     */
    private List<BigInteger> userIdIn;

    /**
     * 申请人
     */
    private BigInteger createUserId;
}
